<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <title>{% block title %} Wager Wagon - The place to be to bet !{% endblock %}</title>
  </head>
  <body>
    <div id="outer">
      <div id="header">
        <h1>Wager Wagon</h1>
      </div>
      <div id="nav">
        {% block navigation %}
        <ul>
          <li class="menuitem"><a href='/'>Home</a></li>
          <li class="menuitem"><a href='/create'>Create a new poll</a></li>
          <li class="menuitem"><a href='/?user=true'>View your polls</a></li>
          <li class="menuitem"><a href='{{ url }}'>{{ url_linktext }}</a></li>
        </ul>
        {% endblock %}
      </div>
      <div id="main">
        <h2>{% block pagetitle %}Main Page{% endblock %}</h2>
        {% block main %} {% endblock %}
      </div>
      <div id="footer">
        footer
      </div>
    </div>
  </body>
</html>
